@isTest(SeeAllData=true)
private class headerUtilityTest {
    static testMethod void testMyController() {
		PageReference pageRef = new PageReference('/apex/loginHRMS');
       	Test.setCurrentPage(pageRef);
       	headerUtility controller = new headerUtility();
	    
	    ApexPages.currentPage().getHeaders().put('USER-AGENT','iPhone');
	    
	    controller.userAgent = 'iPhone';
	    controller.deviceType = 'iPhone';
	    System.debug('##############################UserAgent: '+controller.userAgent);
	    //System.debug(controller.userAgent);
	    //System.debug(controller.deviceType);
	    
	} 
               
}